Properly handle conditional access combined with conditional method.#5199
Merged
AlekseyTs merged 1 commit intodotnet:masterfrom Sep 15, 2015
Merged
Properly handle conditional access combined with conditional method.#5199AlekseyTs merged 1 commit intodotnet:masterfrom
AlekseyTs merged 1 commit intodotnet:masterfrom
Conversation
Contributor
Author
|
cc @TyOverby |
Member
There was a problem hiding this comment.
Why can this return null but not VisitExpression?
Member
There was a problem hiding this comment.
Ah I think I understand now why this works this way.
Member
|
👍 |
Member
|
LGTM |
AlekseyTs
added a commit
that referenced
this pull request
Sep 15, 2015
Properly handle conditional access combined with conditional method.
github-actions bot
pushed a commit
that referenced
this pull request
Apr 1, 2025
Fixes #5199 Fixes #5160 We already had implementation and option based support to perform exception path analysis to handle all operations that can potentially throw an exception, and hence need flow analysis data at the point of operation to be merged with analysis data at start of reachable catch blocks from that operation. However, we were only performing this analysis post pass when flow analysis is looking at exceptions data. Now we do it for all analysis as this is required for more accurate input analysis data at start of catch and finally blocks. NOTE: Fixing this issue led to an assert firing in CodeAnalysis dataflow operation visitor for an existing unit test, which has also been fixed in this PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4615.
@gafter, @VSadov, @jaredpar, @agocke Please review.